import math
import time
def is_prime(number):
    if number > 1:
        if number == 2:
            return True
        if number % 2 == 0:
            return False
        for current in range(3, int(math.sqrt(number) + 1), 2):
            if number % current == 0:
                return False
        return True
    return False
        

    
print(sum(i for i in range(2000000) if is_prime(i)))

b=time.process_time()
print(b)
